<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2016/7/23
 * Time: 0:13
 */
namespace App\Http\Controllers\Home;

use App\Helper\Helpers;
use App\Http\Controllers\Controller;
class HomeController extends Controller
{
    public function index()
    {
        $data['flag'] = 1;
        $menu = \Helpers::formatMenu();
        $data['menu'] = \Helpers::createMenu($menu);
        dd($data);
        //return view('Home.index')->withData($data);

    }
}